package com.killer.mianshibaodian.utils;

import android.app.Activity;

/**
 * Created by killer on 2016/4/17.
 */
public class Globals {
    public static DBUtil util;
    public static int SCREEN_WEIGHT;
    public static int SCREEN_HEIGHT;
    public static void init(Activity a){
        util = new DBUtil(a);
        SCREEN_WEIGHT = a.getWindowManager().getDefaultDisplay().getWidth();
        SCREEN_HEIGHT = a.getWindowManager().getDefaultDisplay().getHeight();
    }

}
